package ru.papergames.battleserver.model.battle.map;

import ru.papergames.battleserver.model.battle.GameBallsLine;

import java.util.Collections;
import java.util.List;
import java.util.Set;

/**
 * @author Alexander Troshanin
 */
public class LinesToBeRemovedInfo {

    public static final LinesToBeRemovedInfo STATIC_EMPTY = new LinesToBeRemovedInfo(Collections.<Cell>emptySet(), Collections.<Integer>emptyList());

    private Set<Cell> cellsInLines;

    private List<Integer> linesSizes;

    private List<GameBallsLine> lines;

    public LinesToBeRemovedInfo(Set<Cell> cellsInLines, List<Integer> linesSizes) {
        this(cellsInLines, linesSizes, null);
    }

    public LinesToBeRemovedInfo(Set<Cell> cellsInLines, List<Integer> linesSizes, List<GameBallsLine> lines) {
        this.cellsInLines = cellsInLines;
        this.linesSizes = linesSizes;
        this.lines = lines;
    }

    public Set<Cell> getCellsInLines() {
        return cellsInLines;
    }

    public List<Integer> getLinesSizes() {
        return linesSizes;
    }

    public List<GameBallsLine> getLines() {
        return lines;
    }
}
